<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>
<div th:utext="|${msg}|"></div>
<div th:text="${blog1.content}"></div>
<div th:object="${blog1}">
    <p th:text ="*{dbid}"></p>
    <p th:text ="*{content}"></p>
    <p th:text ="*{title}"></p>
    <p th:text ="*{status}"></p>
</div>
<input th:value="${msg}">
<div th:if="${true}">我显示啦</div>
<div th:switch="${blog1.getStatus()}">
    <p th:case="26">我的状态为26</p>
    <p th:case="646">我的状态为646</p>
    <p th:case="*">其他噢</p>
</div>
<img src="https://ts1.cn.mm.bing.net/th/id/R-C.d9b79f15a1bb8b42d9fc503fb5dd42b0?rik=96y6jff7pb3L%2bQ&riu=http%3a%2f%2fimg.mm4000.com%2ffile%2f4%2f81%2f9792f9b963.jpg%3fdown&ehk=NddT8WySYCKUW7Z%2fFguFXUipse9XhCsKX3ZuetUXmu8%3d&risl=&pid=ImgRaw&r=0"/>
</body>
</html>